﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessInterfaces
{
    public interface IBusinessRule<t>
    {
        void ProsecuteRules(ref t Entity, ref List<IRuleResult<t>> RulesResults);
    }

    public interface IRuleResult<t>
    {
        t TestedEntity { get; set; }
        string RuleName {get;set;}
        string RuleMessage {get;set;}
    }
}
